package com.universal.service.impl;

import com.universal.service.IEmailService;
import org.springframework.stereotype.Service;

@Service
public class EmailServiceImpl implements IEmailService {

    //@Autowired
    //private JavaMailSender mailSender;
    //
    //private static final Logger logger = LoggerFactory.getLogger(EmailServiceImpl.class);
    //
    //
    //@Override
    //public void send(EmailSendDTO var) {
    //    logger.info("Send Email...{}", var.getEmail());
    //    SimpleMailMessage message = new SimpleMailMessage();
    //    message.setFrom(MessageConstants.USER_NAME);
    //    message.setTo(var.getEmail());
    //    message.setSubject(var.getSubject());
    //    message.setText(var.getContent());
    //    mailSender.send(message);
    //}
    //
    //@Override
    //public ApiResult<Object> send(EmailSendDTO var1, List<MultipartFile> var2) {
    //    return null;
    //}
}
